package com.example.phoneshop.entity;

import java.util.Date;
import java.util.List;

/**
 * @author nozomi
 * @date 2018/7/8 11:01
 * @description
 */
public class Order {
    /**
     * 订单id
     */
    private int id;
    /**
     * 客户名称
     */
    private String username;
    /**
     * 收货人姓名
     */
    private String receiveName;
    /**
     * 收货地址
     */
    private String address;
    /**
     * 联系电话
     */
    private String userPhone;
    /**
     * 订单状态
     */
    private String orderState;
    /**
     * 下单时间
     */
    private long orderTime;
    /**
     * 日期格式显示
     */
    private String dateFormatTime;
    /**
     * 商品列表
     */
    private List<OrderGoods> goodsList;
    /**
     * 商品总价
     */
    private int totalPrice;

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public int getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getDateFormatTime() {
        return dateFormatTime;
    }

    public void setDateFormatTime(String dateFormatTime) {
        this.dateFormatTime = dateFormatTime;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(long orderTime) {
        this.orderTime = orderTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public List<OrderGoods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<OrderGoods> goodsList) {
        this.goodsList = goodsList;
    }
}
